import request from '@/utils/request';
import { LoginParamsType } from "@/model/LoginParamsType";

export async function accountLogin(params: LoginParamsType): Promise<any> {
    return request({
        url: '/adminuser/login',
        method: 'POST',
        data: params,
    });
}
export async function accountAaptcha(): Promise<any> {
    return request({
        url: '/adminuser/ValidateCode',
        method: 'get',
        responseType:'arraybuffer'
       
    });
}